<html>
<head>
    <meta charset="utf-8">
    <title>商品</title>
    <#assign base=request.contextPath  />
    <#setting  number_format="0.##"/>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="${base}/frame/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="${base}/sweep/css/app.css" media="all">
    <link rel="stylesheet" href="${base}/sweep/css/mui.min.css" media="all">
    <link rel="stylesheet" type="text/css" href="${base}/sweep/css/style.css" />
    <script src="${base}/backstage/js/jquery-1.8.3.min.js"></script>
    <script src="${base}/sweep/js/mui.min.js"></script>
    <script src="${base}/backstage/layui/layui.js"></script>
</head>
<body>
<div class="mui-content">

        <#if size==0>
              <img src="${base}/sweep/images/暂无商品.png" style="width: 100px;height: 100px;position: relative;left:36%">
              <span style="position: relative;top:81px;left: 8%;color: red">暂 无 商 品</span>
        </#if>

        <#if size!=0>
    <ul class="mui-table-view">
            <#list good as good>
                <li class="mui-table-view-cell mui-media" onclick="window.location.href='${base}/wx/good/goodDetails.html?id=${good.id}'">
                    <a href="javascript:;">
                        <img class="mui-media-object mui-pull-left" src="${good.goodUrl}">
                        <div class="mui-media-body">
                            ${good.goodName}
                            <p class='mui-ellipsis' style="position: relative;top:6px;"><span style="color: red;font-size: 17px;">￥${good.goodPrice}</span><span>/赚 ￥${good.saleProfit}</span></p>
                            <button type="button" class="layui-btn layui-btn-danger layui-btn-radius" style="float: right;height: 32px;width: 96px;">分 享 赚</button>
                        </div>
                    </a>
                </li>
            </#list>
    </ul>

        </#if>

</div>
</body>
</html>


